Fix save bug in AbstractGP