diff --git a/matlab/dr1.m b/matlab/dr1.m
index f92d6fb721c3bfbeb616a00634e14e9ad0bd6465..f244ee1f009d8d33bab7e0bbcf2af738663978ce 100644
--- a/matlab/dr1.m
+++ b/matlab/dr1.m
@@ -370,7 +370,7 @@ else  % use original Dynare solver
         end
         for i=1:nd
             if abs(ss(i,i)) < 1e-6 && abs(tt(i,i)) < 1e-6
-                info(7) = 1;
+                info(1) = 7;
             end
         end
         return
diff --git a/matlab/print_info.m b/matlab/print_info.m
index a509aff50e15c9193574968f0033066b4e4ced8f..a1e22d1bd2156b9cb4a435fcb68cad84a0fc1338 100644
--- a/matlab/print_info.m
+++ b/matlab/print_info.m
@@ -48,7 +48,7 @@ if ~noprint
         error(['The Jacobian matrix evaluated at the steady state contains elements ' ...
                'that are not real or are infinite'])
       case 7
-        error(['One of the eigenvalue is is close to 0/0 (the absolute ' ...
+        error(['One of the eigenvalues is is close to 0/0 (the absolute ' ...
                'value of numerator and denominator is smaller than 1e-6).'])
       case 19
         error('The steadystate file did not compute the steady state (inconsistent deep parameters).')