deep copy fix for varnodes