fix s3 uploads