fixes the date