[chapter 8] problems reading the keyboard dictionary