minor changes in getdata.py