fixed some transitions