fix multi model bug