fixed keyboardcomponent crash