Fix uploading file queue