Fix upload file