fixes port directly in ports