hopefully fixing char encoding issue