Fix usb.write error.