Fix transition errors