fixes for download