update the recvAMessage() to fix recv() bugs