fixes date & time