AI - Fixed KWander compilation error