Fixed decoding of topo