fixed search bar problem