make superscript show up correctly in doc