Fixed bugs in Chapter 10 and Transfer.