fixed bayes rdoc