fix: bug in spawn_collector_processes