Remove the double slash from the generated URI