bug graph.model()