fix sv destruction bug