active state fix