Fix fail date and count date.