Fixed output path issue