fix <base> href double trailing slash