prevent machine initialization with invalid states