fix a mbed upload error