filter null search elements