missed writing out the file
read data, fix some dates