diff --git a/entity/RoleChildren_entity/recordcontainers/jdito/contentProcess.js b/entity/RoleChildren_entity/recordcontainers/jdito/contentProcess.js
index f60d6a7070cacdb246b26fee65f6388efd38a840..cf0d3c41b7ee397447c6b35fc95c8a5a5f2c6f62 100644
--- a/entity/RoleChildren_entity/recordcontainers/jdito/contentProcess.js
+++ b/entity/RoleChildren_entity/recordcontainers/jdito/contentProcess.js
@@ -30,5 +30,6 @@ if (parentRoleName && parentRoleName.indexOf("CUSTOM_") != -1) {
             return false;
         });
     }
-    result.object(children);
-}
\ No newline at end of file
+}
+
+result.object(children);
\ No newline at end of file
diff --git a/entity/RoleChildren_entity/recordcontainers/jdito/onInsert.js b/entity/RoleChildren_entity/recordcontainers/jdito/onInsert.js
index bca1f461dfcba8df142c4aac68c7c2da8a03cb19..7fec6ad58d90022619c620cca93d6680a81199a7 100644
--- a/entity/RoleChildren_entity/recordcontainers/jdito/onInsert.js
+++ b/entity/RoleChildren_entity/recordcontainers/jdito/onInsert.js
@@ -6,10 +6,7 @@ import("system.vars");
 
 var parentRoleName = vars.exists("$param.RoleId_param") && vars.get("$param.RoleId_param")
 
-if (parentRoleName) {
-    if (parentRoleName.indexOf("CUSTOM_") == -1) {
-        parentRoleName = "CUSTOM_" + parentRoleName;
-    }
+if (parentRoleName && parentRoleName.indexOf("CUSTOM_") != -1) {
     var alias = SqlUtils.getSystemAlias();
     var childRole = vars.get("$local.rowdata")["CHILD_ROLE.value"];
 
diff --git a/entity/RoleChildren_entity/recordcontainers/jdito/onUpdate.js b/entity/RoleChildren_entity/recordcontainers/jdito/onUpdate.js
index 80a5dfd715543880ae6c53ac1dd739a2b92c3edb..3d8ff7063349243d3784541b4dcd994510fb0dab 100644
--- a/entity/RoleChildren_entity/recordcontainers/jdito/onUpdate.js
+++ b/entity/RoleChildren_entity/recordcontainers/jdito/onUpdate.js
@@ -6,10 +6,7 @@ import("system.vars");
 
 var parentRoleName = vars.exists("$param.RoleId_param") && vars.get("$param.RoleId_param")
 
-if (parentRoleName) {
-    if (parentRoleName.indexOf("CUSTOM_") == -1) {
-        parentRoleName = "CUSTOM_" + parentRoleName;
-    }
+if (parentRoleName && parentRoleName.indexOf("CUSTOM_") != -1) {
     var alias = SqlUtils.getSystemAlias();
     var childRole = vars.get("$local.rowdata")["CHILD_ROLE.value"];