fixed the readings table insert