fixing non-ascii characters