Fix transaction formatting