Port correction