cleanup baseurl param