more minor special character replacements and fixes