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

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

    }
    
    func load(){
        
        guard !self.isLoaded else {
            return
        }
        
        self.logDebug("load is started")
        self.pointer.value =  UserDefaults.standardDefaults.uInt64ForKey(self.positionSettingName)
        self.size.value = UserDefaults.standardDefaults.objectForKey(self.sizeSettingName) as? Int ?? 0
