applied stage destroy leak fix