fix serialization and test msg list problem