         if keyboardRect.origin.y != keyboard.frame.origin.y {
             let show = keyboardRect.origin.y < keyboard.frame.origin.y
             animationsHandler?(show: show, rect: keyboardRect)
-            keyboard.frame = keyboardRect
+            Keynode.Keyboard.frame = keyboardRect
         }
     }
     

        func animations() {
            offsetInsetBottom(keyboardRect.origin.y)
            animationsHandler?(show: show, rect: keyboardRect)
            keyboard.frame = keyboardRect
            
            if show == false {
                targetView?.removeGestureRecognizer(panGesture)

        }
        func completion(finished: Bool) {
            if show == false {
                Keynode.Keyboard.hidden = true
                firstResponder?.responder?.resignFirstResponder()
            }
        }
