Fixed typo in generator