fix paper trail revert