remove a unused delegate.