fix bug in multi_upload.py