[Fix] - Wrong Parameter passing to the output function