modify bugs for ProtocolBuffersSerialize.cpp