cleanup of search results