fix dlcharts.py