Fix new model object exception