fix bad generated value for boolean in base model