added data cleaning functions to search results