fix close tag
accommodate global titles