fixed readData