fixing special character translation for '