fixed issues with search bar