refine key-bindings