[refactor] fix several key binding issues