correct cwd at start