flowchart fixes