fixing dl.py