fix trailing backslash on base_url