fix amortization chart totals bug