tried a hotfix for encoding