Fix error with graph_refresh.