correct special charcter rendering