revert template