remove surperfluous graph