fix modelname problem