         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)

        }
        
        if self.cancelInfo != nil && buttonIndex == alertView.cancelButtonIndex {
            if let _handler = self.cancelInfo!.completion {
                _handler(resultObject: result)
            }
        } else {
            var resultIndex = buttonIndex
            if self.textFieldInfo.count > 0 || self.cancelInfo != nil {

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