S3 upload fixed