Fix the model value getter.