fix a unsubscribe bug.