fix restore of &cpo