 
     @IBOutlet weak public var nextTextField: UITextField? {
         get {
-            return objc_getAssociatedObject(self, &NextTextFieldKey) as? UITextField
+            return (objc_getAssociatedObject(self, &NextTextFieldKey) as? WeakObjectContainer)?.object as? UITextField
         }
 
         set {

        inputAccessoryView = toolBar
    }
}

                oldTextField.previousTextField = nil
            }

            objc_setAssociatedObject(self, &NextTextFieldKey, WeakObjectContainer(object: newValue), objc_AssociationPolicy.OBJC_ASSOCIATION_RETAIN_NONATOMIC)
            assignInputAccessoryView()

            if let newTextField = newValue {
