Fixed usb check bug