cleanup keyboard
digest in Keyboard.handle
removed unneeded digest in Keyboard.when