Fix s3 upload