fix role to device for new device