added debounce to search box