fixed Error bug ( Ports missing)