fixing baseurl issue