having trouble getting device from kobject