fix the new flowchart