revert signal code