baseurl and slash fix