bug fixed in debts