Fix Flow Diagram