clone node to avoid errors