corrected searchbar bug fix