fix parsing port and portgroups in portgroup