correct badly done physical port counting