code generator defaults usage bugfix