fix args to graph