fixed s3 configuration