Fixed transaction issue