fix subscription counter after unsubscribe