fix flowchart rep