         }
         
         dispatch_group_notify(group, dispatch_get_main_queue()) {
-            completion(urls: urls)
+            completion(webURLs: webURLs)
         }
     }
 


extension ShareViewController {

    private func urlsFromExtensionContext(extensionContext: NSExtensionContext, completion: (urls: [NSURL]) -> Void) {

        var urls: [NSURL] = []

        guard let extensionItems = extensionContext.inputItems as? [NSExtensionItem] else {
            return completion(urls: [])
        }

        let URLTypeIdentifier = kUTTypeURL as String


                    attachment.loadItemForTypeIdentifier(URLTypeIdentifier, options: nil) { secureCoding, error in

                        if let url = secureCoding as? NSURL where !url.fileURL {
                            webURLs.append(url)
                        }

                        dispatch_group_leave(group)
