fix the upload failed