fix unsubscribe bug