fixing bug when searching and bringing no results