Bugfix - main.behaviour.state is updated with the correct name of the node