Fix invalid URLs