Fixed transaction layer bug