corrected a bug with FSM view when tasks have syntax errors