removing extra slash from baseurl