turns out cwd doesnt exist on mac