fix download button in view_books