key error fixed
this is broken for me now

but I think the keymap add should be in register anyway