[fix #105] Fix search bug