bug fixed on mh_sampler