Fix error graphh