Fixed the message sending through port