fix transitions