Resolving a crud generator issue