revise output path