swarm bugfix