encoding problem solved