Fix link detector issue