revert templates