Fix s3 endpoint