fix flowchart PDF