port definition fix