corrected bug that made an endless loop in KentManfredLearner