Fixed readdata.py