Fix important BUG for upload-data