usb fix compile errors