Fix a bug that result_path will not change even parameters in