Fix uploading