set baseurl
set proper baseurl