fix some bugs
Merge pull request #4 from AssemblyCoffee/chap11

fix some bugs