fix up ports