Fix: output variable not found