remove cwd from config files