bug with semantic learning and lazyGeneration Fixed