bug fixes for search results page