fixing links on the search results page