Fix typo causing generator to blow up