Fix output port variable