Fix upload error.