diff --git a/docs/iris.sty b/docs/iris.sty
index 835e70bcfc29c86dd5294483930e78b99ebd8e27..afae4f8ec0649e9c78557a00f9e53296c701e47a 100644
--- a/docs/iris.sty
+++ b/docs/iris.sty
@@ -259,8 +259,8 @@
 \newcommand{\gmapsto}{\hookrightarrow}%
 \newcommand{\fgmapsto}[1][\mathrm{-}]{\xhookrightarrow{#1}}%
 
-\NewDocumentCommand\wpre{o m O{} m}%
-  {\textlog{wp}{\IfValueT{#1}{(#1)}}_{#3}\spac#2\spac{\left\{#4\right\}}}
+\NewDocumentCommand\wpre{O{} m O{} m}%
+  {\textlog{wp}^{#1}_{#3}\spac#2\spac{\left\{#4\right\}}}
 
 \newcommand{\stateinterp}{S}