Fix a cwd issue