cwd not called