fix for keydown