restore topology.