fix to graph