fix topo bug