Small fix for uploads