output path fix