fixed the date format