cleaning up search results