diff --git a/matlab/check_posterior_sampler_options.m b/matlab/check_posterior_sampler_options.m
index c296cc94adc51e1df5fc17c156be273f7d350f4e..22001768619b58a94e5a9acaccebf203c92ba58a 100644
--- a/matlab/check_posterior_sampler_options.m
+++ b/matlab/check_posterior_sampler_options.m
@@ -84,7 +84,7 @@ if init,
                             options_.use_mh_covariance_matrix = options_list{i,2};
                             
                         otherwise
-                            warning(['imh_sampler: Unknown option (' options_list{i,1} ')!'])
+                            warning(['rwmh_sampler: Unknown option (' options_list{i,1} ')!'])
                     end
                 end
             end
@@ -134,6 +134,7 @@ if init,
                             end
                             
                         otherwise
+                            warning(['tarb_sampler: Unknown option (' options_list{i,1} ')!'])
                             
                     end