fix the DOM parser in transaction spec