         }
     }
     open func loadItems() {
-        let weakSelf = self
-        self.URLCallbacks.onLoad?(weakSelf)
+        self.URLCallbacks.onLoad?(self)
     }
     
     // Utils
     
     func handle(with error: Error) {
-        let stateWas = _state
+        let prevState = _state
         _state = .none
         configuration.refreshControl?.stopAnimating()
         configuration.refreshControl?.isEnabled = false

        }
    }
    
    func emptyView() -> UIView? {
        let emptyView = configuration.currentEmptyView ?? self.URLCallbacks.emptyView?() ?? configuration.emptyView
        configuration.currentEmptyView = emptyView

        configuration.refreshControl?.isEnabled = true
        configuration.infiniteControl?.stopAnimating()
        configuration.emptyView?.removeFromSuperview()
        if prevState == .refreshing {
            self.adapter.removeAll()
            self.reloadData()
            self.adjustErrorView(error: error)
        }
        self.URLCallbacks.didLoad?(error, [])
    }
