fix bug of device owner. Only device owner has permission to access the device.