typo in 'hardError' for generators