make the search box workable