typos in AI
adjust XianSi
clean up AI codes