clean up transitions