         if self.cancelInfo != nil {
             var handler = self.cancelInfo!.completion
             let action = UIAlertAction(title: self.cancelInfo!.title, style: .Cancel, handler: { (action) -> Void in
-                if let _handler = handler {
-                    _handler(resultObject: action)
-                }
+                handler?(resultObject: action)
                 SwAlert.dismiss()
             })
             alertController.addAction(action)

        for alertInfo in self.otherButtonHandlers {
            var handler = alertInfo.completion
            let action = UIAlertAction(title: alertInfo.title, style: .Default, handler: { (action) -> Void in
                if let _handler = handler {
                    if alertController.textFields?.count > 0 {
                        _handler(resultObject: alertController.textFields)
                    } else {
                        _handler(resultObject: action)
                    }
                }
                SwAlert.dismiss()
            })

            
            if self.otherButtonHandlers.count > resultIndex {
                let alertInfo = self.otherButtonHandlers[resultIndex]
                alertInfo.completion?(resultObject: result)
            }
        }
        
