Fix output variable to correct name