fix GraphController.index