Fixed error message when adding a book