typo in generator template