yet another graph bug fix