bugfix protobuf byte problem