impl flexible default_filters
fix bugs
Merge branch 'flexible-default_filters'