diff --git a/classes/SCDclass_algo.m b/classes/SCDclass_algo.m
index 3b0918e91dd933a273573c5405992d0fb4837547..ed5c226eba0effd260ff15dbd2650c5c6cced988 100644
--- a/classes/SCDclass_algo.m
+++ b/classes/SCDclass_algo.m
@@ -445,14 +445,17 @@ classdef SCDclass_algo
                     tmplname = sprintf('%s_tmpl',obj.exportedtps{ii});
                     if designDataobj.exist(tmplname)
                       oldEntry = designDataobj.getEntry(tmplname);
-                      if isequal(oldEntry.getValue.Value,P.Value)
-                        fprintf('%s: keep old template %s since not changed\n',obj.getname,tmplname);
-                        continue;
-                      else
-                        % replace
-                        oldEntry.setValue(P);
-                        fprintf('%s: replaced value of template %s since it changed\n',obj.getname,tmplname)
-                      end
+                      % isequal does not detect type changes
+                      %if isequal(oldEntry.getValue.Value,P.Value)
+                      %  fprintf('%s: keep old template %s since not changed\n',obj.getname,tmplname);
+                      %  continue;
+                      %else
+                      %  % replace
+                      %  oldEntry.setValue(P);
+                      %  fprintf('%s: replaced value of template %s since it changed\n',obj.getname,tmplname)
+                      %end
+                      oldEntry.setValue(P);
+                      fprintf('%s: replaced value of template %s\n',obj.getname,tmplname)   
                     else
                         fprintf('   %s: added new %s\n',obj.getname, tmplname);
                         designDataobj.addEntry(tmplname,P);