Transition.cpp  fixed