fix deprecated isolated check in _digest()