remove an unused proc and trigger