transaction.c fix