fixed error on flowchart