fix double path prefix