Fix Learning bug.