there was a memory leak chance in transaction handling