correctly init filters. fixed #1