fix assets S3 upload