fixed bug in morphology_learner