Fix output directory