correction to Bayesian model