perform repair