use baseurl to create url rather than url2