Fixed url contraction