hotfix for file uploading