keydown event hack