Typo causes NameError when pressing the left arrow key.