modify encoding problerm