removing double slash in embedded urls