reduce number of ports