Fix for printing training data.