bugfixs about sserialization