fixed serialization of PU