Revert "fix search bug"

This reverts commit 82ee87126f9a634f31c27f4261857d1ba2a4bdba.