delete invalid keymap