Hotfix the wrong writing for uploads