bug in semantic learning