Fix bug "AttributeError: 'Cc_trx' object has no attribute 'get'"