Repaired some minor bugs on multiple graphs system