output_path undefined