small debug

correct something in FSM