fix arguments to child_spawned event