Fix graph problem