added usb removed check