fixing new key input

a few small changes for the new key input methods.