fix problem in instant serialization