Fixes transitions