function lend(address _to, ERC20 _token, uint256 _amount, address _target, bytes _data) public payable {
        inLendingMode += 1;
        super.lend(_to, _token, _amount, _target, _data);
        inLendingMode -= 1;
    }