fix linegraph