Could not create model by using Model template