Fixed silly FSM.