subscript and superscript case fix