Fixed HID plugin crash