Fixed output filename error