diff --git a/matlab/compute_moments_varendo.m b/matlab/compute_moments_varendo.m
index dc869fdf829be35c617de6bc281dc7047ee5f4c4..8b9e8aae13eab750746be7a8d0162799fbd134df 100644
--- a/matlab/compute_moments_varendo.m
+++ b/matlab/compute_moments_varendo.m
@@ -48,7 +48,7 @@ else
         return
     else
         if options_.one_sided_hp_filter || options_.hp_filter || options_.bandpass.indicator
-            fprintf(['Estimation::compute_moments_varendo: theoretical pruned moments incompatible with filtering. Skipping computations\n'])
+            fprintf('Estimation::compute_moments_varendo: theoretical pruned moments incompatible with filtering. Skipping computations\n')
         end        
     end
 end
@@ -163,9 +163,13 @@ if options_.order==1
                 lh = size(labels,2)+2;
                 dyn_latex_table(M_, options_, title, save_name_string, headers, labels, 100*temp, lh, 8, 2);
             end
+            if ~options_.noprint
+                skipline();
+            end
+        end
+        if ~options_.noprint
             skipline();
         end
-        skipline();
         if ~all(diag(M_.H)==0)
             [observable_name_requested_vars, varlist_pos] = intersect(var_list_, options_.varobs, 'stable');
             if ~isempty(observable_name_requested_vars)