fix for spec['Topo'] Key Error