Fix small bug in ReadData.c