refine console keymap