fixes for download issues