fix double path problem