fixed list_transactions (again)