fix a search issue