prevent adaptation from crashing the MCMC