Fix url formatting