getting ridof baseurl