fix the message's length attribute so that it represent the total message length including the head