simplify the path name