fix KeyboardManager