Fixed AWS s3 upload error