book logic fix