fix the problem with the likelihood for the R code