Fix ref url base