fix for download button and download count