removing unused ports