fix stupid pegasos save/read bug