[Transitions] Fixed some code.