removed bad code from agent_spawner