Fix parameter preProcessOnly causing file generation error