fixed issue #589, #596, #590

modified loan repayment schedule table