correction of serialization