fixed some typos in AI