Fix enumerating pb