cleaning up transitions