for search bug