removed selfDest cleanup function