Fixed EasyAI bug