Fix link resolution