Fix repayment max amount value