```\n    function _poolRepayAll(address pool, address token) internal {\n        .\n        .\n        info.totalBorrows = info.totalBorrows - amount;\n        info.balance = info.balance - amount; // amount should be added here\n        .\n        .\n    }\n```\n