fix bug to display all books instead of only 1