repair generator