fix filter state array