remove unnecessary linkages