apply filter properly
Merge pull request #6 from zbtirrell/notice-fix

apply filter properly