refactor: machine table
check for duplicate state machine names