fix transition type