fix restore deadlines randomly