remove Graph.closed variable