deal with path issues