fix bug in _uploadToFileHandleService