Fix upload fails