new better resolving of ports using single_sw_port_visible