fix local path exists