fix bug in send

msgId has to be written in the pendingOps in order to handle correct
the MSGACK