fixing the graph/table