fixed typos up to checkpoint in chap 2