fix the filter method in list