fix redundant transition in flowchart