remove redundant port no.