fixing tx log bug