stop using deprecated event subscriptions