temp save before serialization