Clean the code in order to test HID