fix refreshing page when book image is clicked when book_link is empty