     // TableView delegates
     func tableView(_: NSTableView, objectValueFor tableColumn: NSTableColumn?, row: Int) -> Any? {
         if let tableColumn = tableColumn {
-            if row > (self.configurations?.count ?? 0) - 1 { return nil }
-            if let object = self.configurations?[row] {
+            if row > (self.allconfigurations?.allconfigurations?.count ?? 0) - 1 { return nil }
+            if let object = self.allconfigurations?.allconfigurations?[row] {
                 let hiddenID = object.hiddenID
                 let profile = object.profile ?? NSLocalizedString("Default profile", comment: "default profile")
                 switch tableColumn.identifier.rawValue {

        self.initpopupbutton()
        ViewControllerReference.shared.setvcref(viewcontroller: .vcallprofiles, nsviewcontroller: self)
        self.allconfigurations = AllConfigurations()
        self.configurations = self.allconfigurations?.allconfigurations
        self.allschedules = Allschedules(includelog: false)
        self.allschedulessortedandexpanded = ScheduleSortedAndExpand(allschedules: self.allschedules)
        globalMainQueue.async { () -> Void in

        }
        switch self.column {
        case 0:
            self.allconfigurations?.allconfigurations = allconfigurations?.allconfigurations?.sorted(by: \.profile!, using: comp)
        case 3:
            self.allconfigurations?.allconfigurations = allconfigurations?.allconfigurations?.sorted(by: \.task, using: comp)
        case 4:
            self.allconfigurations?.allconfigurations = allconfigurations?.allconfigurations?.sorted(by: \.localCatalog, using: comp)
        case 5:
            self.allconfigurations?.allconfigurations = allconfigurations?.allconfigurations?.sorted(by: \.offsiteCatalog, using: comp)
        case 6:
            self.allconfigurations?.allconfigurations = allconfigurations?.allconfigurations?.sorted(by: \.offsiteServer, using: comp)
        default:
            return
        }
