cleanup of LazyGraph