restore diagnosis