fix reset function in USB driver