Fix pb in the generator