fixed moving the graph