fix keyboard with smartinput