config search bug fix