fix UploadFile