Fixed calculations on books not working