diff --git a/matlab/dynare_estimation_1.m b/matlab/dynare_estimation_1.m
index 794b961779b21cfe0ddef094900f161903cb19cb..79382763b7875e7f2b6d4f15a9bbe1e10ba1f5a6 100644
--- a/matlab/dynare_estimation_1.m
+++ b/matlab/dynare_estimation_1.m
@@ -279,12 +279,12 @@ if ~isequal(options_.mode_compute,0) && ~options_.mh_posterior_mode_estimation
                 end
                 if ~options_.dsge_var
                     [xparam1,PostVar,Scale,PostMean] = ...
-                        gmhmaxlik('DsgeLikelihood',xparam1,bounds,options_.Opt6Numb,Scale,flag,MeanPar,CovJump,gend,data,...
+                        gmhmaxlik('DsgeLikelihood',xparam1,[lb ub],options_.Opt6Numb,Scale,flag,MeanPar,CovJump,gend,data,...
                                   data_index,number_of_observations,no_more_missing_observations);
                     fval = DsgeLikelihood(xparam1,gend,data,data_index,number_of_observations,no_more_missing_observations);
                 else
                     [xparam1,PostVar,Scale,PostMean] = ...
-                        gmhmaxlik('DsgeVarLikelihood',xparam1,bounds,options_.Opt6Numb,Scale,flag,MeanPar,CovJump,gend);
+                        gmhmaxlik('DsgeVarLikelihood',xparam1,[lb ub],options_.Opt6Numb,Scale,flag,MeanPar,CovJump,gend);
                     fval = DsgeVarLikelihood(xparam1,gend);
                 end
                 options_.mh_jscale = Scale;
@@ -305,12 +305,12 @@ if ~isequal(options_.mode_compute,0) && ~options_.mh_posterior_mode_estimation
                 end
                 if ~options_.dsge_var
                     [xparam1,PostVar,Scale,PostMean] = ...
-                        gmhmaxlik('DsgeLikelihood',xparam1,bounds,...
+                        gmhmaxlik('DsgeLikelihood',xparam1,[lb ub],...
                                   options_.Opt6Numb,Scale,flag,PostMean,PostVar,gend,data,data_index,number_of_observations,no_more_missing_observations);
                     fval = DsgeLikelihood(xparam1,gend,data,data_index,number_of_observations,no_more_missing_observations);
                 else
                     [xparam1,PostVar,Scale,PostMean] = ...
-                        gmhmaxlik('DsgeVarLikelihood',xparam1,bounds,...
+                        gmhmaxlik('DsgeVarLikelihood',xparam1,[lb ub],...
                                   options_.Opt6Numb,Scale,flag,PostMean,PostVar,gend);
                     fval = DsgeVarLikelihood(xparam1,gend);          
                 end