Bug fix: typo in readData