Fix upload.