fix automata speed