fixing graph