repair the url