repairing generators