fix outdir