bug fixes for search result page