date difference fix