fixing URLs in search results