fix the graph size