fix ESC key binding