added usb error fix for mac