generator: fix typo in messages