correct the date entries