fixes to the date