fix get graph (again)
Merge pull request #16 from sonots/fix_get_graph2

fix get graph (again)