Fixed a model method