fix boolean default value in generated base model