         }
         get {
             guard let webView = target else { return nil }
-            return objc_getAssociatedObject(webView, &WKWebView.Input.inputViewKey) as? View
+            return objc_getAssociatedObject(webView, &WKWebView.Input.viewKey) as? View
         }
     }
     /// input accessory view


// MARK: dynamic set views
extension WKWebView.Input {
    fileprivate static var inputViewKey: UInt8 = 0
    fileprivate static var inputAccessoryViewKey: UInt8 = 1
    /// input view
    public var view: View? {
        set {
            if let webView = target {
                objc_setAssociatedObject(webView,
                                         &WKWebView.Input.inputViewKey,
                                         newValue,
                                         .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
                webView.reloadInputViews()

        }
        get {
            guard let webView = target else { return nil }
            return objc_getAssociatedObject(webView, &WKWebView.Input.accessoryViewKey) as? View
        }
    }
}
