Fix url patch