fix crash on empty subscriptions