hid detach fix
let's be a little safer with the device id
Merge pull request #5 from AlexNisnevich/hid-detach-fix

hid detach fix