fixes transitions