Fixed bug with book building.