changed cancelSubscription to deleteSubscription