keycode fixes