fix dependend destroys