Topology name functions. Some bugs solved.