Fixing port variable