fix another bug in remove debts