Set baseurl properly