fix download.py