fix bug that error happen during usb-copy.