ensure proper default value for int vars without a value stored in the
model