try another way to register the device