working on deleting ended subscriptions