finish linking repair structures