fix keymap bug