atom-keymap and cleanup