max repayment should not be less than zero