Fixes transitions (again)

Fixes #5