fix protobuf default type