model method fix