fix bug when filter search