bugfix, Model.newRecord