fix the filter issue