fixed defect in filter