fixed protobuf calls for server