Fix dangling bug when perfex duplex helices