fixed add filter method