s3 upload fix