Fix output paths