issue #19 pg2sos more or less ready, fixing 1