Remove global port variable