fixing base url in links