fix another search bug