fix s3 config