state_machine_helper: fixed comments