Fix cwd in settings