fix graphBranchs