Fixed the transition problem.