apply key binding patch