typo in crud generator

fixes #1131