flow chart fix