diff --git a/MPSoC/src/asyncchannel.c b/MPSoC/src/asyncchannel.c
index ed6edd635864470f6253d9f2f5ed39e0c512b748..2dace81201fd12ae1c8213df30391f93468b7751 100755
--- a/MPSoC/src/asyncchannel.c
+++ b/MPSoC/src/asyncchannel.c
@@ -113,8 +113,8 @@ void destroyAsyncchannel(asyncchannel *asyncch) {
   debugInt("asyncchannel address \n",channel->mwmr_fifo);
   debugInt("asyncchannel \n",channel->mwmr_fifo->depth);
   debugInt("asyncchannel \n",channel->mwmr_fifo->width);
-  debugInt("asyncchannel msg size \n",sizeof(*msg));
-  async_read(channel->mwmr_fifo, &msg, sizeof(*msg));//DG 13.6. *msg au lieu de msg
+  debugInt("asyncchannel msg size \n",sizeof(msg));
+  async_read(channel->mwmr_fifo, &msg, sizeof(msg));//DG 13.6. *msg au lieu de msg
   
   return msg;
 }
@@ -134,6 +134,6 @@ void addMessageToAsyncChannel(asyncchannel *channel, message *msg) {
   debugInt("asyncchannel->fifo rptr \n", channel->mwmr_fifo->status->rptr);
   debugInt("asyncchannel->fifo wptr \n", channel->mwmr_fifo->status->wptr);
   //async_write(channel->mwmr_fifo, &msg, 1 );
-  debugInt("asyncchannel msg size \n",sizeof(*msg));
-  async_write(channel->mwmr_fifo, &msg, sizeof(*msg));//DG 13.6. *msg au lieu de msg
+  debugInt("asyncchannel msg size \n",sizeof(msg));
+  async_write(channel->mwmr_fifo, &msg, sizeof(msg));//DG 13.6. *msg au lieu de msg
 }
diff --git a/src/main/java/ddtranslatorSoclib/toTopCell/TopCellGenerator.java b/src/main/java/ddtranslatorSoclib/toTopCell/TopCellGenerator.java
index 5d17140d469f38e9ab46944e767f887d76edd9f4..7e2d69e8500b4a45888262eac990be229977fd42 100755
--- a/src/main/java/ddtranslatorSoclib/toTopCell/TopCellGenerator.java
+++ b/src/main/java/ddtranslatorSoclib/toTopCell/TopCellGenerator.java
@@ -132,8 +132,10 @@ public class TopCellGenerator
       // of memory accesses other than channel    
          
       for  (AvatarConnector connector : avatardd.getConnectors()){
-     AvatarConnectingPoint my_p1= (AvatarConnectingPoint)connector.get_p1(); 
-     AvatarConnectingPoint my_p2= (AvatarConnectingPoint)connector.get_p2(); 
+	  //  AvatarConnectingPoint my_p1= (AvatarConnectingPoint)connector.get_p1(); 
+	  //AvatarConnectingPoint my_p2= (AvatarConnectingPoint)connector.get_p2(); 
+	  AvatarConnectingPoint my_p1= connector.get_p1(); 
+	  AvatarConnectingPoint my_p2= connector.get_p2(); 
     
       //If a spy glass symbol is found, and component itself not yet marked