minor optimization on recv_reply