diff --git a/models/DEV_DB.js b/models/DEV_DB.js
index <HASH>..<HASH> 100644
--- a/models/DEV_DB.js
+++ b/models/DEV_DB.js
@@ -75,7 +75,7 @@ jsh.App[modelid] = new (function(){
   };
 
   this.getFormElement = function(){
-    return jsh.$root('.xformcontainer.xelem'+model.class);
+    return jsh.$root('.xformcontainer.xelem'+xmodel.class);
   }
 
   this.oninit = function(xmodel) {
JSH-<I> Refactoring js