fix incorrect clone_node() call