Fix the flowchart