s3 config fixes endpoint