fixing Transaction