fix bad port