Fixed a search bar problem