fix a new encoding problem