Bug fixed in AI