fix graphname issue