was crashing when it needed create a new device.