clean up the search widget