diff --git a/matlab/dr1.m b/matlab/dr1.m
index 5ac1c7e27dadf9c17b5b91579336c15480588d08..e9976fd6eefb7f098662717629e7ffdedea7b8ae 100644
--- a/matlab/dr1.m
+++ b/matlab/dr1.m
@@ -99,8 +99,9 @@ if options_.ramsey_policy
         end
         ys = oo_.steady_state;
         if inst_nbr == 1
-           nl_func = @(x) dyn_ramsey_static_(x,M_,options_,oo_,it_);
-           inst_val = fzero(nl_func,oo_.steady_state(k_inst));
+            nl_func = @(x) dyn_ramsey_static_(x,M_,options_,oo_,it_);
+            %           inst_val = fzero(nl_func,oo_.steady_state(k_inst));
+            inst_val = csolve(nl_func,oo_.steady_state(k_inst),'',options_.solve_tolf,100);
         else
             [inst_val,info1] = dynare_solve('dyn_ramsey_static_', ...
                                             oo_.steady_state(k_inst),0, ...
@@ -380,7 +381,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 4d7ecc82a11c95f058310f2f45d023ab12324c2c..3874c8301f719cb700d5c030bee3cfcbfc7be102 100644
--- a/matlab/print_info.m
+++ b/matlab/print_info.m
@@ -49,7 +49,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).')