cleanup keymap definitions