fixed keymap output bug