fixed bugs of search: & -> |