fixing encoding issue?