template revert