move from deprecated modelAttr