removing unused code about ports