naive bayes typo update