hotfix encoding