Fix the base url.