Fix up transaction