replace underscore in path with hyphen