Fix baseurl business.