fixing transitions