add rethrow flag in deep.context