bugfix encoding problem