Fixed missing parameters in call of appendLine