fixed typo in new model function. Refs #335