Fix for swarm AI