fix spectrum.resultid, transactions dealing