fix filter when search