idle in transaction fixes