typo in generator