Fix s3 base_url bug