Fix the graph output directory