fix filter active state