new rich topo and lpsolve bugfix