fixing url formatting