fixed the graph