add missing require of state_machine