Analytics repair