fixed bugs, save graph extension