Fix to output path