removing inactive links