Fix NPE in enchangint books.