cwd minor fix