some corrections for MCMC jacobian