diff --git a/robe-crud/src/main/resources/templates-rythm/model.js b/robe-crud/src/main/resources/templates-rythm/model.js
index <HASH>..<HASH> 100644
--- a/robe-crud/src/main/resources/templates-rythm/model.js
+++ b/robe-crud/src/main/resources/templates-rythm/model.js
@@ -10,13 +10,13 @@ define([
                 editable: false,
                 nullable: true,
                 type: "string"
-            },@for (io.robe.crud.helper.Model model: models) {
+            },@for (io.robe.crud.helper.Model model: models).join() {
             {
                 editable : true,
                 nullable: @model.isNullable(),
-                validation: getValidations("@model.getName()","@model.getName()",@if(model.isNullable()){false}else{true}, false, 0, @model.getLength(),""),
+                validation: getValidations("@model.getName()","@model.getName()",@(!model.isNullable()), false, 0, @model.getLength(),""),
                 type:"@model.getType()"
-            }@if(model_index<models.size()){,}
+            }
         }
     });
     return @entity;
ROBE-<I> Refactor, Github feedback