path_join() used to deal with path problems