Repair ModelBase;