encode hotfix