fix to model_name method