Fix active state