fixed enemyAI trigger bug