cleanup views of graph