finish all target and by_node targets