Fix url building.