todo: remove configs after children are spawned