         public func remove(service handle: UInt16) {
             
             // remove from daemon
-            let coreService = database.service(for: handle).attribute
+            let coreService = database.service(for: handle)
             internalManager.remove(coreService)
             
             // remove from cache

                }
                
                // compute new data
                
                newValues[index] = newValue
            }
            

            }
        }
        
        subscript(characteristic: CBCharacteristic) -> Data {
            
            get {
                
