Fix error in key binding