transition state bug fixed