Remote statechart bugfix