fix the date in the file