fixed search bug duplicate