fixed state transition issue