search minor bug fix