fixes for download packages