fix paths to cwd