fixed s3 image upload