improved transaction debugging