fixed bug when building usb image