corrections pgsolver, sptgsolver