chapter 4 syntax, grammar and markdown fixes