replace apostrophe with correct character