Fixed error in data.py