Fixes download button not working