Fix upload error stuff