fixing broken search results page