         self.addItem(labelItem)
         
         // create services to skip
-        let excludingServices = excludingServiceTypes.flatMap { type in type.service }
+        let excludingServices = excludingServiceTypes.flatMap { NSSharingService(named: $0.name) }
         
         // add menu items dynamically
         for service in NSSharingService.sharingServices(forItems: [item]) {

 
 ------------------------------------------------------------------------------
 
 © 2015-2016 1024jp
 
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.

    case composeMessage
    
    
    var name: String {
        
        switch self {
        case .addToNotes: return "com.apple.Notes.SharingExtension"
