standardizing url when comparing scheme