bugfixes for actions on transitions