remove inactive links