searchBar error fix