                         dispatch_async(dispatch_get_main_queue()) {
                             uploadImageInfos.append(uploadImageInfo)
 
-                            dispatch_group_leave(uploadMediaImagesGroup)
+                            dispatch_group_leave(uploadImagesGroup)
                         }
                     })
                 }
             })
 
-            dispatch_group_notify(uploadMediaImagesGroup, dispatch_get_main_queue()) {
+            dispatch_group_notify(uploadImagesGroup, dispatch_get_main_queue()) {
 
                 if !uploadImageInfos.isEmpty {
 

            })
        }

        let uploadMediaImagesGroup = dispatch_group_create()

        switch attachment {

        case .Default:

            var uploadImageInfos = [UploadImageInfo]()


                ]

                dispatch_async(dispatch_get_main_queue()) {
                    dispatch_group_leave(uploadVoiceGroup)
                }
            })

            dispatch_group_notify(uploadVoiceGroup, dispatch_get_main_queue()) { [weak self] in
                kind = .Audio
                doCreateFeed()

