fix crash in keyboard shortcut page, although it still behaves weirdly