fix repay error on maturity date