fixed util.transitionStates