Reducing spare slash in the URL