typo in output variable name led to unassigned output errors