bug fix

if output folder is NOT exitst, mkdir output