Reducing multiple slashes to only 1