null pointer fix Book.cpp