bug fix in CPU likelihoods