Fix link tracking