tweak serialization code