only take last part of cwd path