revert dead code