Correcting output_path