fixing some transitions