fix duplicated slashes