fixes for python state machine support