fixing populate new model logic