fixes date