fix keycode