fix up confusion matrix