Change "book.id" to "book.pk"