fix graph viewer in case one graph is broken