compatible with Protobuf 2.4.1