repair substraction