set baseurl correctly