fix : npe in port properties
fix : ports had no parents