fix target 0 bug in wait_nodes