Bug fix - debts settling