Fixed an error in the date field