fixed possible list error when getting the outputFilename