diff --git a/code/classes/SCDclass_algo.m b/code/classes/SCDclass_algo.m
index 8494c359fa919ffcb4dc9d081d2427c48841a5bc..43cddee79e4a8c4e3d55fd910bb2840d794a886a 100644
--- a/code/classes/SCDclass_algo.m
+++ b/code/classes/SCDclass_algo.m
@@ -143,7 +143,7 @@ classdef SCDclass_algo
              mytarget = targetstruct{istruct};
              if ~isempty(mytarget) && contains(obj.fpinits{ii}{2},mytarget)
                warning('SCDclass_algo:addfpinitfcn',...
-                 'A function defining the structure %s has already been added, ignoring.\d',mytarget)
+                 'A function defining the structure %s has already been added, ignoring.\n',mytarget)
                return
              end
            end
@@ -302,7 +302,7 @@ classdef SCDclass_algo
               fprintf('Adding referenced data dictionary %s to %s\n',refdd,obj.getdatadictionary)
               dictionaryObj.addDataSource(refdd);
             else % already exists
-              fprintf('Data dictionary %s is already referenced in algo data dictionary, not adding',refdd);
+              fprintf('Data dictionary %s is already referenced in algo data dictionary, not adding\n',refdd);
             end
           end
           if dictionaryObj.HasUnsavedChanges, dictionaryObj.saveChanges; end