fixing links from results page