fixed bug in swarm demo