fix error to upload