fix usbautomation bug