correction for models with duplicate names