Correcting transaction data type