fix problem with domain in link hrefs