                 self.fileHandler?.seek(toFileOffset: pointer)
             }
         }
-        
         self.refreshMemoryQueue()
+        self.isLoaded = true
     }
     
     // can be called for initial adding queue to file

    
    // should be used weak reference for this closure
    func addURL(url: URL) {
        self.logDebug("addURL begin queue size: \(self.size.value). local queue size \(self.queue.count)")
        if self.pointer.value != nil {
            // read it from file

    private let flashAndDeleteLock = NSLock()
    private let sizeSettingName = "QUEU_SIZE"
    private let positionSettingName = "FILE_CURRENT_POSITION"
    private var isLoaded: Bool = false
    
    private struct URLItem {
        let url: URL
