fixed some silly errors in GraphController