fixes typos in chapter3