fix reschedule failed jobs