fix typo in cardinality generators