Fixed the reading in transaction problem.