cleanup of graphs view