O wait I just realized that previous code results in ```path``` defaulting to '/'. Is it better to account for the scenario where ```x.path = ""```?