fixing encoding