Ajout Begin/End + Correction declaration ports