cleanup protobuf mess