awful code that cleared the search query removed