fix typo in generator form