fixing the urls in links