search bar crash fix!!!