fix type in port_list