rectified a minor syntax error in data.py