Fix link code