udpate chapter 12, fix typo