Fix a bug while uploading files.