Fix typos in Ch01 and Ch04

see comments on commits