fixing mcmc