search bug fixed