fixing protobuf serialization
fixing summary