Small fix to model