Possible fix for upload errors